package org.biubiu0002.baiblog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.biubiu0002.baiblog.core.model.entity.ShareCommentCountEntity;

/**
 * @Author: biubiu0002
 * @Date: 2022-05-15 16:51
 **/
public interface ShareCommentCountService extends IService<ShareCommentCountEntity> {
    int getShareCommentCountFromDB(String shareId);

    Integer getShareCommentCount(String shareId);

    void syncShareCommentCountFromRedis2DB();
}
